package com.weipai.springboot.module.service;

import com.weipai.springboot.model.Role;
import com.weipai.springboot.model.api.Response;

public interface RoleService {

    Response list(String draw);

    Response save(Role role);

    Response getRole(Long id);

    Response update(Role role);

    Response deleteById(Long id);

    Response batchDeleteById(Long[] id);
    
    Role getRoleObject(Long id);
}
